package mediator.pattern.demo;

/**
 * Created by 逸足天涯
 * Date: 2019/10/17.
 * Time: 14:13
 */
abstract class Friend {
    protected Mediator mediator;
    public String name;

    public Friend(Mediator mediator) {
        this.mediator = mediator;
    }
    public abstract void send(String message);
    public abstract void notify(String message);
}
